//禁止回退
export default {
  install(Vue, options) {
    Vue.prototype.$fallback = function() {
      history.pushState(null, null, document.URL);
      window.addEventListener("popstate", function() {
        history.pushState(null, null, document.URL);
      });
    };
  }
};
